<?php
/**
 * Created by Zhy
 * User: Zhy
 * Date: 2018/8/3
 * Time: 16:18
 */

namespace app\api\model;


use think\Model;

class ClassroomType extends Model
{
    /**
     * 课程分类
     * @return false|\PDOStatement|string|\think\Collection
     */
    public function getClassroomType(){
        $list = $this->field('classroom_id, classroom_name')->select();
        return $list;
    }
}